package com.corpgovernment.costcenter.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ProjectUploadInfoPageResponseVo {

    private int currentPage;

    private int pageSize;

    private int totalPage;

    private int totalCount;

    private List<ProjectUploadInfoResponseVo> uploadInfoResponseVos;

    private List<ProjectUploadDetailInfoResponseVo> uploadDetailInfoResponseVos;

    @Data
    public static class ProjectUploadInfoResponseVo{

        private String taskNo;

        private String companyId;

        private String fileName;

        private Integer successNumber;

        private Integer filedNumber;

        private Integer countNumber;

        private String operatorName;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date createTime;
    }

    @Data
    public static class ProjectUploadDetailInfoResponseVo{

        private String taskNo;

        private Integer line;

        private String filedReason;

    }

}
